\(\int \frac {1}{(a+b x)^2} \, dx\) [1059]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 7, antiderivative size = 12 \[ \int \frac {1}{(a+b x)^2} \, dx=-\frac {1}{b (a+b x)} \]

[Out]

-1/b/(b*x+a)

Rubi [A] (verified)

Time = 0.00 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {32} \[ \int \frac {1}{(a+b x)^2} \, dx=-\frac {1}{b (a+b x)} \]

[In]

Int[(a + b*x)^(-2),x]

[Out]

-(1/(b*(a + b*x)))

Rule 32

Int[((a_.) + (b_.)*(x_))^(m_), x_Symbol] :> Simp[(a + b*x)^(m + 1)/(b*(m + 1)), x] /; FreeQ[{a, b, m}, x] && N
eQ[m, -1]

Rubi steps \begin{align*} \text {integral}& = -\frac {1}{b (a+b x)} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.00 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00 \[ \int \frac {1}{(a+b x)^2} \, dx=-\frac {1}{b (a+b x)} \]

[In]

Integrate[(a + b*x)^(-2),x]

[Out]

-(1/(b*(a + b*x)))

Maple [A] (verified)

Time = 0.15 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.08

method result size
gosper \(-\frac {1}{b \left (b x +a \right )}\) \(13\)
default \(-\frac {1}{b \left (b x +a \right )}\) \(13\)
norman \(\frac {x}{a \left (b x +a \right )}\) \(13\)
risch \(-\frac {1}{b \left (b x +a \right )}\) \(13\)
parallelrisch \(-\frac {1}{b \left (b x +a \right )}\) \(13\)

[In]

int(1/(b*x+a)^2,x,method=_RETURNVERBOSE)

[Out]

-1/b/(b*x+a)

Fricas [A] (verification not implemented)

none

Time = 0.22 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.08 \[ \int \frac {1}{(a+b x)^2} \, dx=-\frac {1}{b^{2} x + a b} \]

[In]

integrate(1/(b*x+a)^2,x, algorithm="fricas")

[Out]

-1/(b^2*x + a*b)

Sympy [A] (verification not implemented)

Time = 0.07 (sec) , antiderivative size = 10, normalized size of antiderivative = 0.83 \[ \int \frac {1}{(a+b x)^2} \, dx=- \frac {1}{a b + b^{2} x} \]

[In]

integrate(1/(b*x+a)**2,x)

[Out]

-1/(a*b + b**2*x)

Maxima [A] (verification not implemented)

none

Time = 0.21 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00 \[ \int \frac {1}{(a+b x)^2} \, dx=-\frac {1}{{\left (b x + a\right )} b} \]

[In]

integrate(1/(b*x+a)^2,x, algorithm="maxima")

[Out]

-1/((b*x + a)*b)

Giac [A] (verification not implemented)

none

Time = 0.30 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00 \[ \int \frac {1}{(a+b x)^2} \, dx=-\frac {1}{{\left (b x + a\right )} b} \]

[In]

integrate(1/(b*x+a)^2,x, algorithm="giac")

[Out]

-1/((b*x + a)*b)

Mupad [B] (verification not implemented)

Time = 0.03 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00 \[ \int \frac {1}{(a+b x)^2} \, dx=-\frac {1}{b\,\left (a+b\,x\right )} \]

[In]

int(1/(a + b*x)^2,x)

[Out]

-1/(b*(a + b*x))